{extend name="../application/public/base.html" /}
{block name="head"}
	<style type="text/css">
    	.layui-card-body{
		  	min-width: 1045px;
		  	/*overflow-x: hidden !important;*/
		}
		.repair-btn{
			  width: calc(20% - 20px) !important;
			  height: 85px !important;
			  font-size: 25px !important;
			  margin-top: 10px;
			  margin-left: 0px !important;
			  margin-right: 15px !important;
			  line-height: 85px !important;
		}
		.repair-btn:nth-child(1){
		  	background: rgba(62, 181, 181, 1);
		}
		.repair-btn:nth-child(2){
		  	background: rgba(51, 51, 51, 1);
		}
		.repair-btn:nth-child(3){
		  	background: rgba(255, 153, 0, 1);
		}
		.repair-btn:nth-child(4){
		  	background: rgba(0, 204, 255, 1);
		}
		.repair-btn:nth-child(5){
		  	background: rgba(153, 0, 0, 1);
		}

		.layui-table tr td{
		  	min-width: 20px !important;
		}
		.layui-table th{
		  	min-width: 20px !important;
		}
    </style>
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
						<div class="layui-card-body ">
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('待维修','repair_dwx_list.html')">
                            	<img src="ADMIN_CUSTOM/img/dwx.png"> | 待维修
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修失败','repair_wxsb_list.html')">
                            	<img src="ADMIN_CUSTOM/img/wxsb.png"> | 维修失败
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修中','repair_wxz_list.html')">
                            	<img src="ADMIN_CUSTOM/img/wxz.png"> | 维修中
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修完成','repair_finish_list.html')">
                            	<img src="ADMIN_CUSTOM/img/yqj.png"> | 维修完成
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修取消','repair_wxqx_list.html')">
                            	<img src="ADMIN_CUSTOM/img/wxsb.png"> | 维修取消
                            </div>
                        </div>
                        <div class="layui-card-body ">
                            <div class="layui-btn" onclick="xadmin.open('维修设备管理','/repair/fault/index/ty/index')">维修设备管理</div>
                            <div class="layui-btn" onclick="xadmin.open('维修故障管理','/repair/fault/index/ty/fault')">维修故障管理</div>
                            <form class="layui-form" style="float: right;margin-right: 20px;">
                              <div class="layui-inline layui-show-xs-block">
                                  <input type="text" name="username"  placeholder="请输入关键字搜索" autocomplete="off" class="layui-input">
                              </div>
                              <div class="layui-inline layui-show-xs-block">
                                  <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
                              </div>
                            </form>
                        </div>

                        <div class="layui-card-body">
                            <div class="layui-tab-content">
								<table class="layui-table layui-form" id="table-list" lay-filter="list">
	                              	
                            	</table>
						  	</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"} 
	<script type="text/html" id="table-btn">
	  <a class="layui-btn layui-btn-xs" onclick="xadmin.open('{{d.state_text}}详情','/repair/repair/repair_details.html?ids={{d.repair_id}}','','',true)">查看</a>
	</script>
	<script type="text/javascript" src="ADMIN_CUSTOM/js/repair/repair.js"></script>
{/block}